package com.honey.mybatis.generator.condition.field;

import com.honey.compilation.java.Field;
import com.honey.mybatis.generator.AbstractField;
import com.honey.mybatis.generator.condition.ConditionConstant;

public class SortField extends AbstractField {

	private static final String FIELD_NAME=ConditionConstant.SORT ;
	
	private static final String[] JAVA_DOC=new String[]{
		"排序字段。"
	} ;
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getFieldName()
	 */
	@Override
	protected String getFieldName() {
		return FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getJavaDoc()
	 */
	@Override
	protected String[] getJavaDoc() {
		return JAVA_DOC;
	}

	public static void main(String []args){
		SortField f = new SortField();
		Field field =  f.createField() ;
		System.out.println(field.compiledContent(1));
	}
}
